﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WebApplication1
{
    public partial class _课堂练习1 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                string[] a = new string[] { "你的宠物的名字", "你小时候长大的街区", "你最喜欢的游戏" };
                DropDownList1.DataSource = a;
                DataBind();
            }

        }

        protected void Button1_Click(object sender, EventArgs e)
        {

        }


    }
}